package com.tech.view.common;

import java.awt.*;
import java.awt.font.FontRenderContext;
import java.awt.geom.AffineTransform;

public class FontUtil {
	/**
	 * 有抗锯齿和分数度量 FontRenderContext 对象，应用于自定义组件中文本绘制的定位
	 */
	public static FontRenderContext FRC = new FontRenderContext(new AffineTransform(), true, true);
	public static Font SMALL_FONT = new Font(Font.SERIF, Font.PLAIN, 12);
	public static Font DEFAULT_FONT = new Font(Font.SERIF, Font.PLAIN, 18);
	public static Font TITLE_FONT = new Font("思源黑体", Font.BOLD, 18);
}
